package com.ruoyi.insurance.service;

import java.util.List;
import com.ruoyi.insurance.domain.OutsideAttack;

/**
 * 外部攻击Service接口
 * 
 * @author ruoyi
 * @date 2024-09-10
 */
public interface IOutsideAttackService 
{
    /**
     * 查询外部攻击
     * 
     * @param attackId 外部攻击主键
     * @return 外部攻击
     */
    public OutsideAttack selectOutsideAttackByAttackId(Long attackId);

    /**
     * 查询外部攻击列表
     * 
     * @param outsideAttack 外部攻击
     * @return 外部攻击集合
     */
    public List<OutsideAttack> selectOutsideAttackList(OutsideAttack outsideAttack);

    /**
     * 新增外部攻击
     * 
     * @param outsideAttack 外部攻击
     * @return 结果
     */
    public int insertOutsideAttack(OutsideAttack outsideAttack);

    /**
     * 修改外部攻击
     * 
     * @param outsideAttack 外部攻击
     * @return 结果
     */
    public int updateOutsideAttack(OutsideAttack outsideAttack);

    /**
     * 批量删除外部攻击
     * 
     * @param attackIds 需要删除的外部攻击主键集合
     * @return 结果
     */
    public int deleteOutsideAttackByAttackIds(Long[] attackIds);

    /**
     * 删除外部攻击信息
     * 
     * @param attackId 外部攻击主键
     * @return 结果
     */
    public int deleteOutsideAttackByAttackId(Long attackId);
}
